﻿<ResourceDictionary 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:Controls="clr-namespace:PSE.Deployment.ConfigurationManager.Controls;assembly=PSE.Deployment.ConfigurationManager.Controls"
	mc:Ignorable="d">
	<Style x:Key="ButtonFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Border>
						<Rectangle Stroke="#FF346FAA" StrokeDashArray="1 2" StrokeThickness="1" Margin="4" SnapsToDevicePixels="true"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="setupBt" TargetType="{x:Type Button}">
		<Setter Property="FocusVisualStyle" Value="{DynamicResource ButtonFocusVisual}"/>
		<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
		<Setter Property="BorderBrush" Value="{x:Static Microsoft_Windows_Themes:ClassicBorderDecorator.ClassicBorderBrush}"/>
		<Setter Property="BorderThickness" Value="3"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="0,0,1,1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Microsoft_Windows_Themes:ClassicBorderDecorator x:Name="ContentContainer" SnapsToDevicePixels="true" BorderStyle="Raised" BorderThickness="0,0,0,0" Background="{DynamicResource BtBackColor}" Height="21" Margin="0,0,0,0">
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" Margin="2,0,2,0"/>
					</Microsoft_Windows_Themes:ClassicBorderDecorator>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedFocused"/>
						</Trigger>
						<Trigger Property="IsDefaulted" Value="true">
							<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedFocused"/>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedPressed"/>
						</Trigger>
						<Trigger Property="ToggleButton.IsChecked" Value="true">
							<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedPressed"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							<Setter Property="Background" TargetName="ContentContainer" Value="{DynamicResource BtDisabled}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="BotaoFechar" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="15" Height="15">
						<Path Stretch="Fill" Stroke="#FF757575" x:Name="circuloajuda" Data="F1 M 6.29235,-1.52588e-005C 9.76752,-1.52588e-005 12.5847,2.81721 12.5847,6.29236C 12.5847,9.76753 9.76752,12.5847 6.29235,12.5847C 2.81718,12.5847 5.24521e-006,9.76753 5.24521e-006,6.29236C 5.24521e-006,2.81721 2.81718,-1.52588e-005 6.29235,-1.52588e-005 Z ">
							<Path.Fill>
								<RadialGradientBrush RadiusX="0.828378" RadiusY="0.828381" Center="0.5071,0.124715" GradientOrigin="0.5071,0.124715">
									<RadialGradientBrush.RelativeTransform>
										<TransformGroup>
											<ScaleTransform CenterX="0.507" CenterY="0.125" ScaleX="0.985" ScaleY="1"/>
											<SkewTransform AngleX="0" AngleY="0" CenterX="0.507" CenterY="0.125"/>
											<RotateTransform Angle="89.258" CenterX="0.507" CenterY="0.125"/>
											<TranslateTransform X="0" Y="0.012"/>
										</TransformGroup>
									</RadialGradientBrush.RelativeTransform>
									<GradientStop Color="#FFF1F1F1" Offset="0.584475"/>
									<GradientStop Color="#FFB0B0B0" Offset="0.858447"/>
								</RadialGradientBrush>
							</Path.Fill>
						</Path>
						<Path x:Name="x" Stretch="Fill" Fill="#FF000000" Data="F1 M 9.73878,9.3075L 7.7512,9.3075L 6.47023,7.34358C 6.42236,7.2709 6.37231,7.13629 6.32009,6.9398L 6.29888,6.9398C 6.27494,7.03221 6.21783,7.17265 6.12754,7.3611L 4.84165,9.3075L 2.84593,9.3075L 5.21534,6.29231L 3.0548,3.27718L 5.0897,3.27718L 6.15039,5.08492C 6.23306,5.22852 6.30704,5.3981 6.37231,5.59373L 6.39352,5.59373C 6.43486,5.47618 6.51156,5.30119 6.62362,5.06876L 7.79201,3.27718L 9.63434,3.27718L 7.44605,6.26677L 9.73878,9.3075 Z " Margin="0,0,0,0" Width="8" Height="8"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Fill" TargetName="circuloajuda">
								<Setter.Value>
									<RadialGradientBrush Center="0.5071,0.124715" GradientOrigin="0.5071,0.124715" RadiusX="0.828378" RadiusY="0.828381">
										<RadialGradientBrush.RelativeTransform>
											<TransformGroup>
												<ScaleTransform CenterX="0.507" CenterY="0.125" ScaleX="-0.868" ScaleY="1"/>
												<SkewTransform AngleX="0" AngleY="0" CenterX="0.507" CenterY="0.125"/>
												<RotateTransform Angle="89.258" CenterX="0.507" CenterY="0.125"/>
												<TranslateTransform X="0.008" Y="0.604"/>
											</TransformGroup>
										</RadialGradientBrush.RelativeTransform>
										<GradientStop Color="#FFF1F1F1" Offset="0.584475"/>
										<GradientStop Color="#FFB0B0B0" Offset="0.858447"/>
									</RadialGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter Property="Fill" TargetName="circuloajuda">
								<Setter.Value>
									<RadialGradientBrush Center="0.5071,0.124715" GradientOrigin="0.5071,0.124715" RadiusX="0.828378" RadiusY="0.828381">
										<RadialGradientBrush.RelativeTransform>
											<TransformGroup>
												<ScaleTransform CenterX="0.507" CenterY="0.125" ScaleX="0.837" ScaleY="0.852"/>
												<SkewTransform AngleX="0" AngleY="0" CenterX="0.507" CenterY="0.125"/>
												<RotateTransform Angle="157.51" CenterX="0.507" CenterY="0.125"/>
												<TranslateTransform X="0" Y="0.039"/>
											</TransformGroup>
										</RadialGradientBrush.RelativeTransform>
										<GradientStop Color="#FFF1F1F1" Offset="0.584475"/>
										<GradientStop Color="#FFB0B0B0" Offset="0.858447"/>
									</RadialGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="x" Value="0,0,0,0"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<!-- INI CONFIGURATION MANAGER-->
	<Style TargetType="{x:Type Button}">
		<Setter Property="Padding" Value="5,0,5,0"/>
		<Setter Property="Foreground" Value="{DynamicResource BrushButtonForeground}"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
		<Setter Property="Width" Value="21"/>
		<Setter Property="Height" Value="21"/>
		<Setter Property="ToolTipService.ShowOnDisabled" Value="True" />
		<Setter Property="Template" Value="{StaticResource ControlButtonText}"/>
		<Style.Triggers>
			<Trigger Property="IsEnabled" Value="False">
				<Setter Property="Foreground" Value="{DynamicResource BrushButtonForegroundDisabled}"/>
			</Trigger>
		</Style.Triggers>
	</Style>
	<ControlTemplate x:Key="ControlButtonText" TargetType="{x:Type Button}">
		<Border x:Name="Border" HorizontalAlignment="Stretch" Background="{DynamicResource BrushButtonBackground}" BorderBrush="{DynamicResource BrushButtonBorder}" BorderThickness="0.7" CornerRadius="4" Height="21" Padding="{TemplateBinding Padding}">
			<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" Style="{DynamicResource MessageBoxButtonFont}" TextElement.Foreground="{TemplateBinding Foreground}"/>
		</Border>
		<ControlTemplate.Triggers>
			<Trigger Property="IsDefault" Value="True">
				<Setter Property="BorderBrush" Value="{DynamicResource BrushButtonBorderDefault}" TargetName="Border"/>
				<Setter Property="BorderThickness" Value="2" TargetName="Border"/>
			</Trigger>
			<Trigger Property="IsMouseOver" Value="true">
				<Setter Property="Background" Value="{DynamicResource BrushButtonBackgroundHover}" TargetName="Border"/>
				<Setter Property="BorderBrush" Value="{DynamicResource BrushButtonBorderHover}" TargetName="Border"/>
			</Trigger>
			<Trigger Property="IsFocused" Value="true">
				<Setter Property="BorderThickness" Value="2" TargetName="Border"/>
				<Setter Property="BorderBrush" Value="{DynamicResource BrushButtonBorderFocused}" TargetName="Border"/>
			</Trigger>
			<Trigger Property="IsMouseCaptured" Value="True">
				<Setter Property="Background" Value="{DynamicResource BrushButtonBackgroundPressed}" TargetName="Border"/>
				<Setter Property="BorderBrush" Value="{DynamicResource BrushButtonBorderPressed}" TargetName="Border"/>
			</Trigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>
	<Style x:Key="ButtonCommon" TargetType="{x:Type Button}">
		<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
		<Setter Property="Background" Value="#00FFFFFF"/>
		<Setter Property="Foreground" Value="#FFFFFFFF"/>
		<Setter Property="BorderThickness" Value="0"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="0,0,1,1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Border Margin="0,0,0,0" x:Name="ContentContainer" SnapsToDevicePixels="true" VerticalAlignment="Center" CornerRadius="6,6,6,6" Height="27" Padding="0,0,0,0">
						<Border.Background>
							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#CC596978" Offset="0"/>
								<GradientStop Color="#CC2C3945" Offset="1"/>
							</LinearGradientBrush>
						</Border.Background>
						<Grid>
							<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="10,0,10,0" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True" x:Name="contentPresenter"/>
						</Grid>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Background" TargetName="ContentContainer">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF4CC059" Offset="0"/>
										<GradientStop Color="#FF14841E" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter Property="Background" TargetName="ContentContainer">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF333333" Offset="0"/>
										<GradientStop Color="#FF666666" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter Property="Background" TargetName="ContentContainer">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF7CDE87" Offset="0"/>
										<GradientStop Color="#FF095B10" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsKeyboardFocused" SourceName="ContentContainer" Value="True">
							<Setter Property="Background" TargetName="ContentContainer">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF4CC059" Offset="0"/>
										<GradientStop Color="#FF14841E" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<!-- INI BUTTON ATIVO INATIVO -->
	<Style x:Key="ButtonActive" TargetType="{x:Type Controls:StartStopButton}">
		<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
		<Setter Property="Background" Value="#00FFFFFF"/>
		<Setter Property="Foreground" Value="#FFFFFFFF"/>
		<Setter Property="BorderThickness" Value="0"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="0,0,1,1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Controls:StartStopButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="loading" RepeatBehavior="Forever" AutoReverse="False">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
								<SplineDoubleKeyFrame KeyTime="00:00:02" Value="-360"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Border Margin="0,0,0,0" x:Name="ContentContainer" SnapsToDevicePixels="true" VerticalAlignment="Center" CornerRadius="6,6,6,6" Height="27" Padding="0,0,0,0">
						<Border.Background>
							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#CC596978" Offset="0"/>
								<GradientStop Color="#CC2C3945" Offset="1"/>
							</LinearGradientBrush>
						</Border.Background>
						<Grid>
							<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="30,0,10,0" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True" x:Name="contentPresenter" d:IsLocked="True"/>
							<Path Width="17" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF1C4F0A" Data="F1 M 20.9991,3.62396C 26.1077,3.62396 30.2491,7.76538 30.2491,12.874C 30.2491,17.9826 26.1077,22.124 20.9991,22.124C 15.8904,22.124 11.7491,17.9826 11.7491,12.874C 11.7491,7.76538 15.8905,3.62396 20.9991,3.62396 Z " HorizontalAlignment="Left" Margin="5,0,0,0" VerticalAlignment="Center" Height="17" x:Name="path" d:LayoutOverrides="Width" d:IsLocked="True">
								<Path.Fill>
									<LinearGradientBrush StartPoint="0.872663,0.872667" EndPoint="0.127334,0.127339">
										<GradientStop Color="#FF2C7311" Offset="0"/>
										<GradientStop Color="#FF46FF00" Offset="1"/>
									</LinearGradientBrush>
								</Path.Fill>
							</Path>
							<Ellipse HorizontalAlignment="Left" Margin="2.49,2.585,0,2.415" Width="22" Fill="#A4FFFFFF" Stroke="#7FE21616" Visibility="Collapsed"/>
							<Ellipse HorizontalAlignment="Left" Margin="7.25,7.4,0,0" Width="12.398" Stroke="#88DC0B0B" StrokeLineJoin="Round" StrokeThickness="1" VerticalAlignment="Top" Height="12.398" Fill="#B2FFFFFF" Visibility="Collapsed"/>
							<Path Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#CC395772" Data="F1 M 334,120C 449.151,120 542.5,213.349 542.5,328.5C 542.5,443.651 449.151,537 334,537C 297.155,537 262.542,527.443 232.505,510.672L 288.498,433.057C 302.436,439.131 317.825,442.5 334,442.5C 396.96,442.5 448,391.461 448,328.5C 448,265.54 396.96,214.5 334,214.5C 282.506,214.5 238.986,248.642 224.842,295.524L 271.243,295.66L 174.973,461.281L 79.6765,295.098L 128.138,295.24C 144.064,195.897 230.169,120 334,120 Z " Margin="0.1,2.5,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="path1" RenderTransformOrigin="0.549,0.503" Visibility="Collapsed" Width="24.5" Height="22">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Path.RenderTransform>
								<Path.Fill>
									<LinearGradientBrush StartPoint="0.0439119,0.303357" EndPoint="0.969287,0.303357">
										<LinearGradientBrush.RelativeTransform>
											<TransformGroup>
												<SkewTransform CenterX="0.0439119" CenterY="0.303357" AngleX="2.41669" AngleY="0"/>
												<RotateTransform CenterX="0.0439119" CenterY="0.303357" Angle="13.1822"/>
											</TransformGroup>
										</LinearGradientBrush.RelativeTransform>
										<GradientStop Color="#CCFAFCFF" Offset="0"/>
										<GradientStop Color="#CCA7C0D6" Offset="1"/>
									</LinearGradientBrush>
								</Path.Fill>
							</Path>
						</Grid>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Background" TargetName="ContentContainer">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#CC8899A9" Offset="0"/>
										<GradientStop Color="#CC2C3945" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Stroke" TargetName="path" Value="#FF4F0A0A"/>
						</Trigger>
						<Trigger Property="IsChecked" Value="False">
							<Setter Property="Stroke" TargetName="path" Value="#FF4F0A0A"/>
							<Setter Property="Fill" TargetName="path">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.127334,0.127339" StartPoint="0.872663,0.872667">
										<GradientStop Color="#FF731111" Offset="0"/>
										<GradientStop Color="#FFFF0000" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Visibility" TargetName="path1" Value="Collapsed"/>
							<Setter Property="Visibility" TargetName="path" Value="Visible"/>
							<Setter Property="Content" Value="Inativo"/>
							<Setter Property="IsEnabled" Value="True"/>
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Setter Property="Stroke" TargetName="path" Value="#FF4F0A0A"/>
							<Setter Property="Fill" TargetName="path">
								<Setter.Value>
									<LinearGradientBrush StartPoint="0.872663,0.872667" EndPoint="0.127334,0.127339">
										<GradientStop Color="#FF2C7311" Offset="0"/>
										<GradientStop Color="#FF46FF00" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Visibility" TargetName="path1" Value="Collapsed"/>
							<Setter Property="Visibility" TargetName="path" Value="Visible"/>
							<Setter Property="Content" Value="Ativo"/>
							<Setter Property="IsEnabled" Value="True"/>
						</Trigger>
						<Trigger Property="IsProcessing" Value="True">
							<Trigger.ExitActions>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource loading}" x:Name="loading_BeginStoryboard"/>
							</Trigger.EnterActions>
							<Setter Property="Background" TargetName="ContentContainer">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#CC8899A9" Offset="0"/>
										<GradientStop Color="#CC2C3945" Offset="1"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Visibility" TargetName="path1" Value="Visible"/>
							<Setter Property="Visibility" TargetName="path" Value="Collapsed"/>
							<Setter Property="Content" Value="Processando"/>
							<Setter Property="IsEnabled" Value="False"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<!-- FIM BUTTON ATIVO INATIVO -->
	
	<!-- FIM CONFIGURATION MANAGER -->

	<!--INI BUTTON MESSAGEBOX-->
	<Style x:Key="ControlButtonMessageBoxClose" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Path x:Name="Path" Width="14.5419" Height="14.5419" Canvas.Left="0" Canvas.Top="6.10352e-005" Stretch="Fill" Data="F1 M 7.27094,0.250061C 11.1486,0.250061 14.2919,3.39337 14.2919,7.271C 14.2919,11.1485 11.1485,14.2919 7.27094,14.2919C 3.39337,14.2919 0.25,11.1485 0.25,7.271C 0.25,3.39337 3.39331,0.250061 7.27094,0.250061 Z " StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="{DynamicResource BrushButtonMessageBoxBorder}" Fill="{DynamicResource BrushButtonMessageBoxBackground}"/>
						<Path Width="6.74094" Height="6.00018" Canvas.Left="3.90048" Canvas.Top="4.27087" Stretch="Fill" Fill="{DynamicResource BrushButtonMessageBoxIconFill}" Data="F1 M 3.90048,10.2711L 6.43312,7.07825L 4.20689,4.27087L 5.88255,4.27087L 7.27095,6.02094L 8.65775,4.27087L 10.335,4.27087L 8.10878,7.07825L 10.6414,10.2711L 8.96416,10.2711L 7.27095,8.13428L 5.57614,10.2711L 3.90048,10.2711 Z "/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" Value="{DynamicResource BrushButtonMessageBoxBackgroundHover}" TargetName="Path"/>
							<Setter Property="Stroke" Value="{DynamicResource BrushButtonMessageBoxBorderHover}" TargetName="Path"/>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter Property="Fill" Value="{DynamicResource BrushButtonMessageBoxBackgroundPressed}" TargetName="Path"/>
							<Setter Property="Stroke" Value="{DynamicResource BrushButtonMessageBoxBorderPressed}" TargetName="Path"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ControlButtonMessageBoxMinimize" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Path x:Name="Path" Width="14.5419" Height="14.5419" Canvas.Left="0" Canvas.Top="6.10352e-005" Stretch="Fill" Data="F1 M 7.27094,0.250061C 11.1486,0.250061 14.2919,3.39337 14.2919,7.271C 14.2919,11.1485 11.1485,14.2919 7.27094,14.2919C 3.39337,14.2919 0.25,11.1485 0.25,7.271C 0.25,3.39337 3.39331,0.250061 7.27094,0.250061 Z " StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="{DynamicResource BrushButtonMessageBoxBorder}" Fill="{DynamicResource BrushButtonMessageBoxBackground}"/>
						<Rectangle Fill="{DynamicResource BrushButtonMessageBoxIconFill}" Stroke="{DynamicResource BrushButtonMessageBoxIconMinimizeStroke}" StrokeThickness="0.5" Margin="2.893,5.741,2.693,5.732"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" Value="{DynamicResource BrushButtonMessageBoxBackgroundHover}" TargetName="Path"/>
							<Setter Property="Stroke" Value="{DynamicResource BrushButtonMessageBoxBorderHover}" TargetName="Path"/>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter Property="Fill" Value="{DynamicResource BrushButtonMessageBoxBackgroundPressed}" TargetName="Path"/>
							<Setter Property="Stroke" Value="{DynamicResource BrushButtonMessageBoxBorderPressed}" TargetName="Path"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<!--FIM BUTTON MESSAGEBOX-->
</ResourceDictionary>